package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验交流管理对象 ex_message_management
 * 
 * @author ruoyi
 * @date 2024-09-02
 */
public class ExMessageManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 留言人用户名 */
    @Excel(name = "留言人用户名")
    private String messagerUserName;

    /** 留言人id */
    @Excel(name = "留言人id")
    private String messagerUserId;

    /** 留言人姓名 */
    @Excel(name = "留言人姓名")
    private String messagerNickName;

    /** 留言时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "留言时间", width = 30, dateFormat = "yyyy-MM-dd hh-mm-ss")
    private Date messageTime;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String messageContent;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;


    private Date beginTime;

    private Date endTime;

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMessagerUserName(String messagerUserName) 
    {
        this.messagerUserName = messagerUserName;
    }

    public String getMessagerUserName() 
    {
        return messagerUserName;
    }
    public void setMessagerUserId(String messagerUserId) 
    {
        this.messagerUserId = messagerUserId;
    }

    public String getMessagerUserId() 
    {
        return messagerUserId;
    }
    public void setMessagerNickName(String messagerNickName) 
    {
        this.messagerNickName = messagerNickName;
    }

    public String getMessagerNickName() 
    {
        return messagerNickName;
    }
    public void setMessageTime(Date messageTime) 
    {
        this.messageTime = messageTime;
    }

    public Date getMessageTime() 
    {
        return messageTime;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("messagerUserName", getMessagerUserName())
            .append("messagerUserId", getMessagerUserId())
            .append("messagerNickName", getMessagerNickName())
            .append("messageTime", getMessageTime())
            .append("messageContent", getMessageContent())
            .toString();
    }
}
